package com.ncp.model.biz.tools.common;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeTools {
	
	public static String getCurrentTime(String dateformat){
		Date now = new Date();   
		SimpleDateFormat dateFormat = new SimpleDateFormat(dateformat);//可以方便地修改日期格式   
		String currentTime = dateFormat.format(now);   
		return currentTime;
	}
}
